<template>
  <div v-if="crud.props.searchToggle">
    <el-select v-model="query.isOpen" clearable size="small" placeholder="押金状态" class="filter-item" style="width: 200px" @change="crud.toQuery">
      <el-option v-for="item in dict.dict.status_common_yesno" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue" />
    </el-select>

    <!--通用查询-->
    <rrOperation :crud="crud" />
  </div>
</template>

<script>
import { header } from '@crud/crud'
import rrOperation from '@crud/RR.operation'

export default {
  components: { rrOperation },
  mixins: [header()],
  props: {
    dict: {
      type: Object,
      required: true
    },
    permission: {
      type: Object,
      required: true
    }
  }
}
</script>
